package cn.madis.ymcc.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author: Eric
 * @CreateTime: 2022-08-06  15:21
 * @Description: TODO
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegisterDTO {
    private String imageCode;
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotNull(message= "非法请求")
    private Integer regChannel;
    @NotEmpty(message = "手机验证码不能为空")
    private String smsCode;

    private String code;

}
